<?php
if(!defined('IN_IA')) {
     exit('Access Denied');
}
if (is_file(__DIR__ . '/defines-local.php'))
{
    require_once __DIR__ . '/defines-local.php';
}
!defined('MODEL_DEBUG') && define('MODEL_DEBUG',false);
!defined('MODEL_PATH') && define('MODEL_PATH',IA_ROOT.'/addons/'.MODEL_NAME.'/');
!defined('MODEL_CORE') && define('MODEL_CORE', MODEL_PATH .'core/');
!defined('MODEL_DATA') && define('MODEL_DATA', MODEL_PATH .'data/');
!defined('MODEL_VENDOR') && define('MODEL_VENDOR', MODEL_PATH .'vendor/');
!defined('MODEL_CORE_WEB') && define('MODEL_CORE_WEB', MODEL_CORE .'web/');
!defined('MODEL_CORE_API') && define('MODEL_CORE_API', MODEL_CORE .'api/');
!defined('MODEL_CORE_MOBILE') && define('MODEL_CORE_MOBILE', MODEL_CORE .'mobile/');
!defined('MODEL_CORE_SYSTEM') && define('MODEL_CORE_SYSTEM', MODEL_CORE .'system/');
!defined('MODEL_PLUGIN') && define('MODEL_PLUGIN',MODEL_PATH.'plugin/');
!defined('MODEL_PROCESSOR') && define('MODEL_PROCESSOR',MODEL_CORE.'processor/');
!defined('MODEL_INC') && define('MODEL_INC', MODEL_CORE.'inc/');
!defined('MODEL_URL') && define('MODEL_URL',$_W['siteroot'].'addons/'.MODEL_NAME.'/');
!defined('MODEL_TASK_URL') && define('MODEL_TASK_URL',$_W['siteroot'].'addons/'.MODEL_NAME.'/core/task/');
!defined('MODEL_LOCAL') && define('MODEL_LOCAL','../addons/'.MODEL_NAME.'/');
!defined('MODEL_STATIC') && define('MODEL_STATIC', MODEL_URL.'static/');
!defined('MODEL_PREFIX') && define('MODEL_PREFIX',MODEL_NAME);
!defined('MODEL_AUTH_URL') && define('MODEL_AUTH_URL','https://mp.weixin.qq.com/');
define('MODEL_PLACEHOLDER','../addons/'.MODEL_NAME.'/static/images/placeholder.png');
  
 